Linux, FreeBSD, and Windows common commands
I use Linux Mint, TrueNAS (FreeBSD), pfsense (BSD), Ubuntu, and Windows. I have a hard time remembering every command for each OS. Fortunately most freebsd and linux commands are the same but not all. So I slowly add to this table over time.
Linux |
FreeBSD |
Windows |
Description |
| lspci | pciconf | Device Manager | view hardware (pci) devices |
| ls | ls | dir or ls | Directory Listing. ‘ls’ for windows |
| hdparm -I | diskinfo | Show harddrive model info | |
| apt-get install | pkg_add -r | Package downloader | |
| free | *free or top | Task Manager | Show memory usage |
| wget | fetch | Invoke-WebRequest | Download file from web |
| route | netstat -r | route print | List network routes |
| lsof | fstat | Resource Monitor | View open files on system |